package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.constant.CommonConstants;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * @ClassName IssueSearchVO
 * @Description Issue对象VO
 * @Author zhangyl
 * @Date 2024/04/25 15:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class IssueSearchVO implements Serializable
{
    /** issueID； */
    //@JsonProperty(value = "id")
    private String id;

    /** 仓库ID； */
    @JsonIgnore
    private String projectId;

    /** serialNumber */
    // @JsonProperty(value = "serial_number")
    private Integer serialNumber;

    /** 标题 */
    // @JsonProperty(value = "title")
    private String title;

    @JsonIgnore
    private String description;

    /** 内容 */
    // @JsonProperty(value = "content")
    private String content;

    /** mdContent */
    //@JsonProperty(value = "md_content")
    private String mdContent;


    //@JsonProperty(value = "created_date")
    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date createdDate;

    private String targetUrl;

    private String nameWithNamespace;

    private String pathWithNamespace;

}
